<div class="form">

    <?php
    $form = $this->beginWidget('CActiveForm', array(
        'id' => 'article-category-form',
        'enableAjaxValidation' => false,
            ));
    ?>

    <?php echo $form->errorSummary($model); ?>
    <fieldset>
        <legend>Basic Information</legend>
        <div class="row">
            <?php echo $form->labelEx($model, 'cate_name'); ?>
            <?php echo $form->textField($model, 'cate_name', array('size' => 60, 'maxlength' => 128)); ?>
            <?php echo $form->error($model, 'cate_name'); ?>
        </div>
    </fieldset>
    <div class="row buttons">
        <?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
    </div>

    <?php $this->endWidget(); ?>

</div>